package com.ybxx.base.model;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.ybxx.core.model.BaseModel;

@Entity
@Table(name="tbl_base_fees_item")
public class FeesItem extends BaseModel {
	@Id
	private String ficode;
	@ManyToOne(targetEntity=Fees.class,fetch=FetchType.LAZY)
	@JoinColumn(name="fid",referencedColumnName="fid") 
	private Fees fees;
	@ManyToOne(targetEntity=FeesType.class,fetch=FetchType.LAZY)
	@JoinColumn(name="ftid",referencedColumnName="ftid") 
	private FeesType feesType;
	private String price;
	public String getFicode() {
		return ficode;
	}
	public void setFicode(String ficode) {
		this.ficode = ficode;
	}
	public Fees getFees() {
		return fees;
	}
	public void setFees(Fees fees) {
		this.fees = fees;
	}
	public FeesType getFeesType() {
		return feesType;
	}
	public void setFeesType(FeesType feesType) {
		this.feesType = feesType;
	}
	public String getPrice() {
		return price;
	}
	public void setPrice(String price) {
		this.price = price;
	}
	
	
}
